package com.mapper;

import com.pojo.CeShi_wzl;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CeShiMapper_wzl {
    @Select(value = "select * from ceshi_wzl where c_title like concat ('%',#{cTitle},'%')")
    public List<CeShi_wzl> listCeShi_wzl(String cTitle);
    @Select(value = "select * from ceshi_wzl where c_id like concat ('%',#{cId},'%')")
    public List<CeShi_wzl> listId_wzl(Integer cId);
    public List<CeShi_wzl> select(@Param("c_id") Integer cId, @Param("c_title") String cTitle);
}
